import { instance as request } from "@/utils";

/**
 * 用户登录
 * @param {*} data
 * @returns
 */
export async function userLogin(data) {
    return request({
        url: "/token",
        method: "post",
        data,
    });
}